package com.ruoyi.admin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 宝企通-企业管理后台-合作企业对象 corp_companies
 * 
 * @author Jimmy
 * @date 2022-08-01
 */
public class CorpCompanies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** Corpid */
    @Excel(name = "Corpid")
    private String corpid;

    /** 名称 */
    @Excel(name = "名称")
    private String corpName;

    /** 类型 */
    @Excel(name = "类型")
    private String corpType;

    /** Logo */
    @Excel(name = "Logo")
    private String corpSquareLogoUrl;

    /** 用户规模 */
    @Excel(name = "用户规模")
    private Integer corpUserMax;

    /** AgentMax */
    @Excel(name = "AgentMax")
    private Integer corpAgentMax;

    /** 二维码 */
    @Excel(name = "二维码")
    private String corpWxqrcode;

    /** 类型 */
    @Excel(name = "类型")
    private Integer subjectType;

    /** 规模 */
    @Excel(name = "规模")
    private String corpScale;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String corpIndustry;

    /** 所属子行业 */
    @Excel(name = "所属子行业")
    private String corpSubIndustry;

    /** 所在地信息 */
    @Excel(name = "所在地信息")
    private String location;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private Integer vipLevel;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedAt;

    /** 新增时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "新增时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCorpid(String corpid) 
    {
        this.corpid = corpid;
    }

    public String getCorpid() 
    {
        return corpid;
    }
    public void setCorpName(String corpName) 
    {
        this.corpName = corpName;
    }

    public String getCorpName() 
    {
        return corpName;
    }
    public void setCorpType(String corpType) 
    {
        this.corpType = corpType;
    }

    public String getCorpType() 
    {
        return corpType;
    }
    public void setCorpSquareLogoUrl(String corpSquareLogoUrl) 
    {
        this.corpSquareLogoUrl = corpSquareLogoUrl;
    }

    public String getCorpSquareLogoUrl() 
    {
        return corpSquareLogoUrl;
    }
    public void setCorpUserMax(Integer corpUserMax) 
    {
        this.corpUserMax = corpUserMax;
    }

    public Integer getCorpUserMax() 
    {
        return corpUserMax;
    }
    public void setCorpAgentMax(Integer corpAgentMax) 
    {
        this.corpAgentMax = corpAgentMax;
    }

    public Integer getCorpAgentMax() 
    {
        return corpAgentMax;
    }
    public void setCorpWxqrcode(String corpWxqrcode) 
    {
        this.corpWxqrcode = corpWxqrcode;
    }

    public String getCorpWxqrcode() 
    {
        return corpWxqrcode;
    }
    public void setSubjectType(Integer subjectType) 
    {
        this.subjectType = subjectType;
    }

    public Integer getSubjectType() 
    {
        return subjectType;
    }
    public void setCorpScale(String corpScale) 
    {
        this.corpScale = corpScale;
    }

    public String getCorpScale() 
    {
        return corpScale;
    }
    public void setCorpIndustry(String corpIndustry) 
    {
        this.corpIndustry = corpIndustry;
    }

    public String getCorpIndustry() 
    {
        return corpIndustry;
    }
    public void setCorpSubIndustry(String corpSubIndustry) 
    {
        this.corpSubIndustry = corpSubIndustry;
    }

    public String getCorpSubIndustry() 
    {
        return corpSubIndustry;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setVipLevel(Integer vipLevel) 
    {
        this.vipLevel = vipLevel;
    }

    public Integer getVipLevel() 
    {
        return vipLevel;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("corpid", getCorpid())
            .append("corpName", getCorpName())
            .append("corpType", getCorpType())
            .append("corpSquareLogoUrl", getCorpSquareLogoUrl())
            .append("corpUserMax", getCorpUserMax())
            .append("corpAgentMax", getCorpAgentMax())
            .append("corpWxqrcode", getCorpWxqrcode())
            .append("subjectType", getSubjectType())
            .append("corpScale", getCorpScale())
            .append("corpIndustry", getCorpIndustry())
            .append("corpSubIndustry", getCorpSubIndustry())
            .append("location", getLocation())
            .append("vipLevel", getVipLevel())
            .append("status", getStatus())
            .append("deletedAt", getDeletedAt())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
